<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, initial-scale=1,minimum-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="shortcut icon" href="img/logo.png">
    <link href="css/style.css" rel="stylesheet" type="text/css"/>
    <title>Title</title>

</head>
<body>
<% if(type == 'admin'){ %>
<% include ../style/admin.css %>
<% }else{ %>
<% include ../style/user.css %>
<% } %>
<form action="127.0.0.1:8088">
    user: <input type="text" name="user" value="<%= name %>"><br>
    pass:<input type="text" name="pass" value="<%= json.arr[0].user %>"><br>
    user: <input type="text" name="user" value="<%= name %>"><br>
    pass:<input type="text" name="pass" value="<%= json.arr[0].pass %>"><br>
    <input type="submit" value="提交">
</form>
<% for(var i = 0;i < json.arr.length;i++){ %>
<div>username:<%= json.arr[i].user %></div>
<div>password:<%= json.arr[i].pass %></div>
<% } %>
<%
var str = '<div></div>' %>
<%= str %>
<%- str %>//直译输出

</body>
<script>

</script>
</html>